package com.huashi.dealer.modular.business.goods.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.huashi.dealer.commonEntity.GoodsSku;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 商品SKU Mapper接口
 */
@Mapper
public interface GoodsSkuMapper extends BaseMapper<GoodsSku> {

    /**
     * 根据商品ID查询SKU列表
     */
    List<GoodsSku> selectByGoodsId(@Param("goodsId") Long goodsId);
} 